Smush\Core\Modules\Dir D

Total Complexity 188
Dependencies 9
Dependents 3
Total lines 1,229
Lines of code 670
Logical lines of code 370
Comment lines 401
Methods 35
Properties 4

Methods 35

Method Rating Maintainability Complexity Lines of code
get_image_list()
B
36 21 81
directory_list()
B
40 21 52
skip_dir()
A
48 17 28
optimise_image()
A
39 11 72
total_stats()
A
41 12 55
combine_stats()
A
51 9 23
initialize()
A
51 8 24
directory_stats_ui()
S
50 6 32
is_image()
S
56 7 17
should_continue()
S
63 8 9
directory_smush_finish()
S
58 6 14
last_scan_stats()
S
52 5 24
init()
S
56 5 17
get_unsmushed_images()
S
57 5 16
get_image()
S
63 6 10
get_root_path()
S
57 4 16
image_list()
S
58 4 15
table_exist()
S
64 4 9
check_table()
S
65 4 9
show_table_error()
S
62 2 16
build_query()
S
63 3 10
check_scan()
S
68 2 12
create_table()
S
56 1 23
remove_directory_tab()
S
71 2 6
directory_smush_check_step()
S
65 2 9
is_image_from_extension()
S
66 2 8
is_media_library_file()
S
65 2 9
get_scanned_images()
S
64 2 9
get_image_errors()
S
64 1 11
directory_smush_cancel()
S
78 1 4
get_admin_path()
S
71 1 5
directory_smush_start()
S
78 1 4
send_error()
S
67 1 8
store_images()
S
73 1 5
get_image_errors_count()
S
68 1 8